package com.zc.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.zc.pojo.LoginUser;
import com.zc.mapper.UserMapper;
import com.zc.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.security.core.userdetails.UserDetails;
import org.springframework.security.core.userdetails.UserDetailsService;
import org.springframework.security.core.userdetails.UsernameNotFoundException;
import org.springframework.stereotype.Service;

import java.util.Objects;

/**
 * @description:
 * @author: cong
 * @create: 2024/8/2
 */
@Service
public class UserServiceImpl {
    @Autowired
    private UserMapper userMapper;
    public User getUserNameById(Integer id)
    {
        return userMapper.selectById(id);
    }


}
